let userAgent = require('user-agent');
export default function getExtraData(){
    return {
        title: document.title,
        url: location.href,
        timestamp: Date.now(),
        userAgent: userAgent.parse(navigator.userAgent).name
        //用户id，token
    }
}